import Vue from 'vue'
import Router from 'vue-router'
import auth from '../components/auth'
import Login from '../components/login'
import register from '../components/register'

Vue.use(Router);

export default new Router({
  routes: [
    {path: '/',
      name:'auth',
      component: auth,
      redirect:'/Login',
      children:[
        {path:'Login', component:Login},
        {path:'register', component:register}
      ]
    }
  ]
})
